/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.situ.studentmanagement.model;

/**
 *
 * @author niugao
 */
public class ClassRoom {
    public final static String TABLE_NAME = "class";
    //column names
    public final static String ID="id";
    public final static String NAME="name";
    public final static String LEVEL="level";
    public final static String SCHOOL_NAME="school_name";
    public final static String ADMIN_ID="admin_id";
    
    private int id;
    private String name;
    private String level;
    private String school_name;
    private int admin_id;

    public ClassRoom(Integer id,String name,String level,String school_name,Integer admin_id){
        this.id=id;
        this.name=name;
        this.level=level;
        this.school_name=school_name;
        this.admin_id=admin_id;
    }
    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the level
     */
    public String getLevel() {
        return level;
    }

    /**
     * @param level the level to set
     */
    public void setLevel(String level) {
        this.level = level;
    }

    /**
     * @return the school_name
     */
    public String getSchool_name() {
        return school_name;
    }

    /**
     * @param school_name the school_name to set
     */
    public void setSchool_name(String school_name) {
        this.school_name = school_name;
    }

    /**
     * @return the admin_id
     */
    public int getAdmin_id() {
        return admin_id;
    }

    /**
     * @param admin_id the admin_id to set
     */
    public void setAdmin_id(int admin_id) {
        this.admin_id = admin_id;
    }
}
